package com.xnyzc.lhy.common.penum;

import com.xnyzc.lhy.common.entity.PEnum;

public enum EAgreementType implements PEnum<Integer> {

    USER_AGREEMENT(1, "用户协议"),
    RECHARGE_AGREEMENT(2, "充值协议"),
    REFLECT_RULE(3, "提现规则"),
    HELPER_CENTER(4, "帮助中心"),
    PRIVACY_POLICY(10, "隐私政策"),
    BANK_CARD_AGREEMENT(11, "银行卡协议");

    int value;

    String desc;

    EAgreementType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String toChString() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }
}
